package com.paomi.client.fragment.order.model;

import com.paomi.client.bean.BaseJSON;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by pc on 2018/11/30
 * Describe:订单列表数据
 * com.paomi.client.fragment.order.model
 */
public class OrderListBean extends BaseJSON {
    private OrderList returnData;

    public OrderList getReturnData() {
        return returnData;
    }

    public void setReturnData(OrderList returnData) {
        this.returnData = returnData;
    }

    public class OrderList implements Serializable{
        private int count;
        private List<OrderData> data;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<OrderData> getData() {
            return data;
        }

        public void setData(List<OrderData> data) {
            this.data = data;
        }
    }
    public class OrderData implements Serializable{
        private long orderId;//订单ID
        private long goodsId;//演出ID
        private long venueId;//场馆ID
        private float couponsAmount;//优惠劵抵用金额
        private int integral;//使用的积分
        private float integralAmount;//积分抵用的金额
        private float totalTicketAmount;//总票价
        private float payAmount;//实际支付金额
        private float freightAmount;//用户支付运费金额
        private int coolectTicketType;//入场方式 0 电子票入场 用户持二维码等方式扫码入场 1 证件入场 用户持相关证件入场 2 快递配送 纸质票通过快递物流的方式配送至用户所填写的收货方式 3 用户自取 用户可通过相关凭证到指定区域自取
        private String courierType;//快递类型
        private String courierNo;//快递单号
        private int num;//门票总张数
        private int state;//订单状态 0 未支付 1 已支付 2 待发货 3 待收货 4 待评价（已收货） 5 已完成（已评价） 6 退款申请中 7 已退款
        private String goodsImg;//演出-图片
        private String goodsName;//演出名
        private String goodsPlanName;//场次名
        private String venueName;//场馆名称
        private long ctime;//下单时间
        private long payTime;//支付时间
        private List<OrderGoods> orderGoodsTickets;//票的列表

        //后面加的
        private long userId;
        private long id;
        private int couponsId;
        private String coolectTicketTypeName;
        private String stateName;
        private String currentTime;
        private int isDelete;
        private String payOrderNo;
        private int payState;
        private String payType;
        private boolean isRealName;
        private String orderSuorce;
        private long goodsPlanId;
        private String goodsShowName;

        private String collectName;//取票人姓名
        private String collectPhone;//取票人手机号

        private Map<String,List<OrderGoods>> orderList;//根据价格分类的票的列表数据

        public long getOrderId() {
            return orderId;
        }

        public void setOrderId(long orderId) {
            this.orderId = orderId;
        }

        public long getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(long goodsId) {
            this.goodsId = goodsId;
        }

        public long getVenueId() {
            return venueId;
        }

        public void setVenueId(long venueId) {
            this.venueId = venueId;
        }

        public float getCouponsAmount() {
            return couponsAmount;
        }

        public void setCouponsAmount(float couponsAmount) {
            this.couponsAmount = couponsAmount;
        }

        public int getIntegral() {
            return integral;
        }

        public void setIntegral(int integral) {
            this.integral = integral;
        }

        public float getIntegralAmount() {
            return integralAmount;
        }

        public void setIntegralAmount(float integralAmount) {
            this.integralAmount = integralAmount;
        }

        public float getTotalTicketAmount() {
            return totalTicketAmount;
        }

        public void setTotalTicketAmount(float totalTicketAmount) {
            this.totalTicketAmount = totalTicketAmount;
        }

        public float getPayAmount() {
            return payAmount;
        }

        public void setPayAmount(float payAmount) {
            this.payAmount = payAmount;
        }

        public float getFreightAmount() {
            return freightAmount;
        }

        public void setFreightAmount(float freightAmount) {
            this.freightAmount = freightAmount;
        }

        public int getCoolectTicketType() {
            return coolectTicketType;
        }

        public void setCoolectTicketType(int coolectTicketType) {
            this.coolectTicketType = coolectTicketType;
        }

        public String getCourierType() {
            return courierType;
        }

        public void setCourierType(String courierType) {
            this.courierType = courierType;
        }

        public String getCourierNo() {
            return courierNo;
        }

        public void setCourierNo(String courierNo) {
            this.courierNo = courierNo;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getGoodsImg() {
            return goodsImg;
        }

        public void setGoodsImg(String goodsImg) {
            this.goodsImg = goodsImg;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String getGoodsPlanName() {
            return goodsPlanName;
        }

        public void setGoodsPlanName(String goodsPlanName) {
            this.goodsPlanName = goodsPlanName;
        }

        public String getVenueName() {
            return venueName;
        }

        public void setVenueName(String venueName) {
            this.venueName = venueName;
        }

        public long getCtime() {
            return ctime;
        }

        public void setCtime(long ctime) {
            this.ctime = ctime;
        }

        public long getPayTime() {
            return payTime;
        }

        public void setPayTime(long payTime) {
            this.payTime = payTime;
        }

        public List<OrderGoods> getOrderGoodsTickets() {
            return orderGoodsTickets;
        }

        public void setOrderGoodsTickets(List<OrderGoods> orderGoodsTickets) {
            this.orderGoodsTickets = orderGoodsTickets;
        }


        //后面加的
        public long getUserId() {
            return userId;
        }

        public void setUserId(long userId) {
            this.userId = userId;
        }

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public int getCouponsId() {
            return couponsId;
        }

        public void setCouponsId(int couponsId) {
            this.couponsId = couponsId;
        }

        public String getCoolectTicketTypeName() {
            return coolectTicketTypeName;
        }

        public void setCoolectTicketTypeName(String coolectTicketTypeName) {
            this.coolectTicketTypeName = coolectTicketTypeName;
        }

        public String getStateName() {
            return stateName;
        }

        public void setStateName(String stateName) {
            this.stateName = stateName;
        }

        public String getCurrentTime() {
            return currentTime;
        }

        public void setCurrentTime(String currentTime) {
            this.currentTime = currentTime;
        }

        public int getIsDelete() {
            return isDelete;
        }

        public void setIsDelete(int isDelete) {
            this.isDelete = isDelete;
        }

        public String getPayOrderNo() {
            return payOrderNo;
        }

        public void setPayOrderNo(String payOrderNo) {
            this.payOrderNo = payOrderNo;
        }

        public int getPayState() {
            return payState;
        }

        public void setPayState(int payState) {
            this.payState = payState;
        }

        public String getPayType() {
            return payType;
        }

        public void setPayType(String payType) {
            this.payType = payType;
        }

        public boolean isRealName() {
            return isRealName;
        }

        public void setRealName(boolean realName) {
            isRealName = realName;
        }

        public String getOrderSuorce() {
            return orderSuorce;
        }

        public void setOrderSuorce(String orderSuorce) {
            this.orderSuorce = orderSuorce;
        }

        public long getGoodsPlanId() {
            return goodsPlanId;
        }

        public void setGoodsPlanId(long goodsPlanId) {
            this.goodsPlanId = goodsPlanId;
        }

        public String getCollectName() {
            return collectName;
        }

        public void setCollectName(String collectName) {
            this.collectName = collectName;
        }

        public String getCollectPhone() {
            return collectPhone;
        }

        public void setCollectPhone(String collectPhone) {
            this.collectPhone = collectPhone;
        }

        public String getGoodsShowName() {
            return goodsShowName;
        }

        public void setGoodsShowName(String goodsShowName) {
            this.goodsShowName = goodsShowName;
        }

        public Map<String, List<OrderGoods>> getOrderList() {
            return orderList;
        }

        public void setOrderList(Map<String, List<OrderGoods>> orderList) {
            this.orderList = orderList;
        }
    }
    public static class OrderGoods implements Serializable{
        private long id;//票id
        private String goodsTicketName;//票名
        private float amount;//票价
        private int num;//数量
        private String code;//票码
        private long userId;
        private long orderId;
        private long goodsId;
        private long goodsPlanId;
        private long goodsTicketId;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getGoodsTicketName() {
            return goodsTicketName;
        }

        public void setGoodsTicketName(String goodsTicketName) {
            this.goodsTicketName = goodsTicketName;
        }

        public float getAmount() {
            return amount;
        }

        public void setAmount(float amount) {
            this.amount = amount;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public long getUserId() {
            return userId;
        }

        public void setUserId(long userId) {
            this.userId = userId;
        }

        public long getOrderId() {
            return orderId;
        }

        public void setOrderId(long orderId) {
            this.orderId = orderId;
        }

        public long getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(long goodsId) {
            this.goodsId = goodsId;
        }

        public long getGoodsPlanId() {
            return goodsPlanId;
        }

        public void setGoodsPlanId(long goodsPlanId) {
            this.goodsPlanId = goodsPlanId;
        }

        public long getGoodsTicketId() {
            return goodsTicketId;
        }

        public void setGoodsTicketId(long goodsTicketId) {
            this.goodsTicketId = goodsTicketId;
        }
    }
}
